import apiClient from "../http";
import {AxiosResponse} from 'axios';
import {deleteMembership} from "../routes"
import {DeleteMembershipResponse} from "../models/response/Other/DeleteMembershipResponse";

export default class MembershipService {
    public static async deleteMembership(membershipId: number): Promise<AxiosResponse<DeleteMembershipResponse>> {
        return apiClient.delete<DeleteMembershipResponse>(deleteMembership(membershipId.toString()));
    }
}